﻿function validateSearch(form) {
    if (form.keywords.value == "") {
        alert("请输入查询条件!");
        form.keywords.focus();
        return false;
    }
}

function refreshImage(img) {
    var now = new Date();
    img.src = img.src.split('?')[0] + '?x=' + now.toUTCString();
}